package 笔试;

import java.util.Scanner;

public class StringTest {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String str = sc.nextLine();
        String[] strs = str.split("\\.");
        int value = Integer.parseInt(strs[0]);
        if(value>=192){
            System.out.println("输入为C类地址");
        }else if(value>=1 && value<=126){
            System.out.println("输入为A类地址");
        }else{
            System.out.println("输入为B类地址");
        }
        sc.close();
    }
}
